﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class IQuestionPrxHelper extends RMIProxyObject implements IQuestionPrx
    {
        public static const NAME:String = "Message.Game.IQuestion";

        public function IQuestionPrxHelper()
        {
            name = "IQuestion";
            return;
        }// end function

        public function changeAnswer_async(param1:AMI_IQuestion_changeAnswer, param2:int, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("changeAnswer");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function getQuestionMsg_async(param1:AMI_IQuestion_getQuestionMsg) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getQuestionMsg");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function useTimesProp_async(param1:AMI_IQuestion_useTimesProp, param2:int, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("useTimesProp");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

    }
}
